package View;

import javax.swing.*;
import javax.swing.GroupLayout.Alignment;
import javax.swing.LayoutStyle.ComponentPlacement;

public class TelaAtualizarSenha extends JTabbedPane  {
	
	JTabbedPane senhaatualizar;
	JPanel atualizarsenha;
	JLabel lblSenhaAtual, lblNovaSenha;
	JFormattedTextField atual, nova;
	JButton atualizar;
	public TelaAtualizarSenha(){
		
		senhaatualizar = new JTabbedPane(JTabbedPane.BOTTOM);
		
		atualizarsenha = new JPanel();
		atualizarsenha.setBackground(null);
		senhaatualizar.addTab("ATUALIZAR SENHA", null, atualizarsenha, null);
		
		JLabel lblSenhaAtual_1 = new JLabel("SENHA ATUAL");
		
		JFormattedTextField formattedTextField = new JFormattedTextField();
		
		JLabel lblNovaSenha_1 = new JLabel("NOVA SENHA");
		
		JFormattedTextField formattedTextField_1 = new JFormattedTextField();
		
		JButton btnAtualizar = new JButton("ATUALIZAR");
		
		JLabel lblNewLabel = new JLabel("New label");
		GroupLayout gl_atualizarsenha = new GroupLayout(atualizarsenha);
		gl_atualizarsenha.setHorizontalGroup(
			gl_atualizarsenha.createParallelGroup(Alignment.TRAILING)
				.addGroup(gl_atualizarsenha.createSequentialGroup()
					.addContainerGap()
					.addGroup(gl_atualizarsenha.createParallelGroup(Alignment.TRAILING)
						.addComponent(lblNovaSenha_1)
						.addComponent(lblSenhaAtual_1))
					.addPreferredGap(ComponentPlacement.RELATED)
					.addGroup(gl_atualizarsenha.createParallelGroup(Alignment.LEADING, false)
						.addComponent(btnAtualizar)
						.addComponent(formattedTextField_1)
						.addComponent(formattedTextField, GroupLayout.PREFERRED_SIZE, 181, GroupLayout.PREFERRED_SIZE))
					.addContainerGap(182, Short.MAX_VALUE))
				.addGroup(gl_atualizarsenha.createSequentialGroup()
					.addContainerGap(389, Short.MAX_VALUE)
					.addComponent(lblNewLabel)
					.addContainerGap())
		);
		gl_atualizarsenha.setVerticalGroup(
			gl_atualizarsenha.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_atualizarsenha.createSequentialGroup()
					.addContainerGap()
					.addGroup(gl_atualizarsenha.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblSenhaAtual_1)
						.addComponent(formattedTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(ComponentPlacement.UNRELATED)
					.addGroup(gl_atualizarsenha.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblNovaSenha_1)
						.addComponent(formattedTextField_1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(ComponentPlacement.UNRELATED)
					.addComponent(btnAtualizar)
					.addPreferredGap(ComponentPlacement.RELATED, 151, Short.MAX_VALUE)
					.addComponent(lblNewLabel)
					.addContainerGap())
		);
		atualizarsenha.setLayout(gl_atualizarsenha);
		
	
	}
}
